<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<!--[if lt IE 9]>
    		<script src="../js/jquery-1.11.3.js"></script>    
		<![endif]-->
		<!--[if gte IE 9]><!-->
		<script src="../js/jquery-3.1.1.js"></script>
		<!--<![endif]-->
		<title></title>
		<script type="text/javascript">
			function func(msg) {
				alert(msg);
			}

			function funload() {
				$.getScript("../js/do.js");
			}

			function funload2() {
				$.getScript("../js/do.js");
				//  fund(di1,"hahahahahah ");

				var callbacks = $.Callbacks();
				callbacks.add(fund);
				// 输出: foo!
				callbacks.fire(di1, "hahahahahah ");
			}
		</script>
	</head>

	<body>
		<div id=di1></div>
		<button onclick="funload2()">载入</button>
	</body>

</html>